package com.szcinda.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface HistoryZadOrderRepository extends JpaRepository<HistoryZadOrder, String>, JpaSpecificationExecutor<HistoryZadOrder> {
    HistoryZadOrder findByOrganizationNameAndPackageNoAndType(String organizationName, String packageNo, String type);

    List<HistoryZadOrder> findByPackageNoAndType(String packageNo, String type);
}
